<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>模块管理</title>

		<link rel="stylesheet" type="text/css" href="/admin/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="/admin/css/bootstrap-table.min.css" />
		<link rel="stylesheet" type="text/css" href="/admin/css/style.min.css" />
		<link rel="stylesheet" type="text/css" href="/admin/css/font-awesome.css" />
		<link rel="stylesheet" href="/admin/layui/css/layui.css">

		<script src="/admin/js/jquery-3.3.1.min.js"></script>
		<script src="/admin/js/bootstrap.js"></script>
		<script src="/admin/js/bootstrap-table.js" type="text/javascript" charset="utf-8"></script>
		<script src="/admin/js/bootstrap-table-zh-CN.js"></script>
		<script src="/admin/layui/layui.js" charset="utf-8"></script>
		<script src="/admin/js/base.js" charset="utf-8"></script>

		<!-- 树 -->
		<link rel="stylesheet" href="/lib/zTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
		<script type="text/javascript" src="/lib/zTree/js/jquery.ztree.core-3.5.js"></script>
		<script type="text/javascript" src="/lib/zTree/js/jquery.ztree.excheck-3.5.js"></script>
		<script type="text/javascript" src="/lib/zTree/js/jquery.ztree.exedit-3.5.js"></script>
		<script src="/admin/js/api.js" charset="utf-8"></script>
		<script src="/admin/js/common.js" charset="utf-8"></script>
		<script src="/admin/js/tree.js" charset="utf-8"></script>
	</head>

	<body>
		<div class="rigthContent">
			<div class="search-top">
				<div class="tool_bar">
					<a href="javascript:;" class="btn btn-default btn-sm" onclick="addTree()">
						<span class="icon icon-plus-sign handle_ioc"></span>
						添加
					</a>
					<a href="javascript:;" id="expandAllBtn" class="btn btn-default btn-sm">
						<span class="icon icon-double-angle-down handle_ioc"></span>
						展开
					</a>
					<a href="javascript:;"  id="resetBtn" class="btn btn-default btn-sm">
						<span class="icon icon-double-angle-up handle_ioc"></span>
						收起
					</a>
				</div>
			</div>
			<div class="pageContent" style="height: 720px; overflow-y: auto;">
				<div class="manageeditdiv">
					<ul id="treeDemo" class="ztree" style="-moz-user-select: none;"></ul>
				</div>
			</div>
		</div>

		<script>
			treeOption = {
				treeList : Url.creatUrl(Api.admin.base.baseModule.getBaseModuleTreeList),
				addChildren: Api.admin.base.baseModule.addHtml,
				removeTree: Api.admin.base.baseModule.deleteBaseModule,
				updateOrder: Api.admin.base.baseModule.updateBaseModuleOrder
			}
		</script>
		
	</body>

</html>